using System.IO;

namespace ShuttleBus
{
    public class StreamReaderWrapper : IReadStreams
    {
        public string ReadAll(IStream stream)
        {
            using(var reader = new StreamReader(stream.BaseStream))
            {
                return reader.ReadToEnd();
            }
        }
    }
}